package com.hhh.sun.mapper;

import com.hhh.sun.pojo.entity.TbOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 15322
* @description 针对表【tb_order】的数据库操作Mapper
* @createDate 2024-10-18 15:54:06
* @Entity com.hhh.sun.entity.TbOrder
*/
public interface TbOrderMapper extends BaseMapper<TbOrder> {
    /**
     * 根据用户id查询所用订单消息
     * @param userId 用户id
     */
    List<TbOrder> selectAllOrderInfoByUserName(@Param("userId") Integer userId);
}




